Skip to content

Potential fix for code scanning alert no. 1: Workflow does not contain permissions#12

Merged
lifeofguenter merged 1 commit into
mainfrom
alert-autofix-1
May 20, 2026
Merged

Potential fix for code scanning alert no. 1: Workflow does not contain permissions#12
lifeofguenter merged 1 commit into
mainfrom
alert-autofix-1

Conversation

@lifeofguenter
Copy link
Copy Markdown
Member

Potential fix for https://github.com/DigitalTolk/ex-mobile/security/code-scanning/1

Add an explicit permissions block to the lint-test job in .github/workflows/release-ios.yml (the reusable workflow invocation), setting only the minimum needed permissions. For lint/test, contents: read is the safest minimal baseline and preserves expected behavior for checkout and read operations.

Concretely:

  • Edit .github/workflows/release-ios.yml in the jobs.lint-test section.
  • Insert:
    • permissions:
    • contents: read
  • Keep existing uses and secrets: inherit unchanged.
  • No imports/dependencies/methods are needed (YAML-only change).

Suggested fixes powered by Copilot Autofix. Review carefully before merging.

…n permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Günter Grodotzki <gunter@grodotzki.com>
@lifeofguenter lifeofguenter marked this pull request as ready for review May 20, 2026 11:22
@lifeofguenter lifeofguenter merged commit 0fc41e5 into main May 20, 2026
12 checks passed
@lifeofguenter lifeofguenter deleted the alert-autofix-1 branch May 20, 2026 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant